package com.gzdh.tang.modu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@TableName("mac_mainp_sbruan")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MacMainpSbruan {

    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    private String kl;
    private String pos;
    private String mac;
    private Date fkrq;
    private Date fkrqTemp;
    private long fkVersion;
    private Date xtDatetime;
    private String zl;
    private String code;
    private int addr;
    private String bqh;
    private String ksh;
    private String cardno;
    private Date createTime;

    private int enableOffline;
    private int maxOfflineTime;
    private String menuPassword;
    private String offlinePassword;
    private int consModel;
    private int enableChange;
    private int fixedAmt;

    private int offlDayLimitCi;
    private int offlDayLimitAmt;
    private int paramVersion;
    private int maxDayAmt;
    private int maxMountAmt;
    private int maxDinnerAmt;
    private int maxAmt;


    @TableField(exist = false)
    private String dinner;

    @TableField(exist = false)
    private String sc;

    @TableField(exist = false)
    private List<String> bqhksh;
    @TableField(exist = false)
    private boolean enableOfflineSwit;
    @TableField(exist = false)
    private boolean enableChangeSwit;


    private boolean anonymity;

    private String aliCardno;

    private String savedm;

    private int payRule;

    private String menuSql;

    private String qrRestrictions;

    private int usePostType;

    private Integer lsCanteenPayId;
}
